If you use nginx forwarding, you need to make the following settings:

	listen       80;
        server_name  webpascal.com;

        #charset koi8-r;

        #access_log  logs/host.access.log  main;

        location / {
            proxy_pass http://localhost:8833;
            proxy_redirect off;
            proxy_set_header Host $host;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Real-Port $remote_port;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        }

Note: In the case of nginx forwarding, the client ip should be retrieved from CLIENT.IP to REQUEST.FORWARDEDFOR, or X-Real-IP from request.header.